package com.itheima.singleton.review;

/**
 * @program: design
 * @description: 单例模式, 懒汉模式
 * @author: zhanghz001
 * @create: 2021-10-19 15:11
 **/
public class SingleModel {
    
    //
    private static SingleModel singleton = new SingleModel();
    
    private SingleModel() {
        
    }
    
    public static SingleModel getSingleton() {
        return singleton;
    }
}
